home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d13
/
pcroct89.arc
/
BATCH.ARC
/
QCOPY.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-03-21
|
622b
|
24 lines
@echo off
rem copies files requested to common destination
rem requires DOS ver.3.3, inputset.txt, inputget.com
echo Enter pathname that files will be copied to (destination).
inputget input.txt
copy inputset.txt+input.txt inputset.bat>nul
call inputset
set DES=%INPUT%
:begin
echo Enter (path &) name of file to copy (or Q to quit).
inputget input.txt
copy inputset.txt+input.txt inputset.bat>nul
call inputset
if "%INPUT%"=="Q" goto cleanup
if "%INPUT%"=="q" goto cleanup
copy %INPUT% %DES%
goto begin
:cleanup
for %%v in (INPUT DES) do set %%v=
for %%v in (input.txt inputset.bat) do del %%v